package com.lin.cloud.disk.entity.request.file;

import com.lin.cloud.disk.common.entity.request.AccountRequestDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.security.auth.login.AccountException;
import javax.validation.constraints.NotNull;

/**
 * @program: cloud-disk
 * @description:
 * @author: Lin
 * @create: 2021-02-15 15:19
 **/
@Data
public class GetStraightDownloadUrlRequest extends AccountRequestDTO {


    @ApiModelProperty(value = "fileID",name = "fileId")
    @NotNull(message = "fileId不能为空")
    private Long fileId;


    @ApiModelProperty(value = "链接类型 0 本地直链 1 分享下载链接",name = "urlType")
    @NotNull(message = "urlType不能为空")
    private Integer urlType;


    @ApiModelProperty(value = "expiredDay 多少天过期",name = "expiredDay")
    private Integer expiredDay;



}
